package com.tbm.console.proj.view;

import com.tbm.console.proj.entity.SystemRole;
import com.tbm.console.proj.entity.SystemUser;
import lombok.Data;

import java.io.Serializable;

@Data
public class SystemUserRoleView implements Serializable{

    private SystemUser systemUser;

    private SystemRole systemRole;

    public SystemUserRoleView(){
        SystemRole systemRole = new SystemRole();
        SystemUser systemUser = new SystemUser();
        this.systemRole = systemRole;
        this.systemUser = systemUser;

    }

    public SystemUserRoleView(SystemUser systemUser){
        SystemRole systemRole = new SystemRole();
        this.systemRole = systemRole;
        this.systemUser = systemUser;
    }

    public SystemUserRoleView(SystemRole systemMenu){
        SystemUser systemUser = new SystemUser();
        this.systemRole = systemMenu;
        this.systemUser = systemUser;
    }


    public SystemUserRoleView(SystemUser systemUser,SystemRole systemMenu){
        this.systemRole = systemMenu;
        this.systemUser = systemUser;
    }

}
